﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="kcy.aspx.cs" Inherits="Account_kcgl_kcy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="margin-top:10px">&nbsp;
    <asp:HyperLink ID="HyperLink2" runat="server" Font-Underline="False" 
        NavigateUrl="~/Admin/kcgl/kcdd.aspx" CssClass="btn01" >考试地点设置</asp:HyperLink>
&nbsp;
    <asp:HyperLink ID="HyperLink3" runat="server" Font-Underline="False" 
        NavigateUrl="~/Admin/kcgl/zykc.aspx" CssClass="btn01">专用考场指定</asp:HyperLink>
&nbsp;
    <asp:HyperLink ID="HyperLink4" runat="server" Font-Underline="False" 
        NavigateUrl="~/Admin/kcgl/kcy.aspx" ForeColor="Red" CssClass="btn01">考场预安排</asp:HyperLink>
&nbsp;
    <asp:HyperLink ID="HyperLink5" runat="server" Font-Underline="False" 
        NavigateUrl="~/Admin/kcgl/kcgl.aspx" CssClass="btn01" >考场管理</asp:HyperLink>
    </div>
    <div style=" margin:10px auto; font-size: x-large; font-weight: bold; color: #666666;" 
        align="center">
        考场预安排
&nbsp;
<p style="font-size: small">&nbsp; &nbsp;</p>
</div>
<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
    Width="100%" CssClass="eDataTable" AllowPaging="True" 
    onpageindexchanging="GridView2_PageIndexChanging" BackColor="White" 
    BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
    GridLines="Vertical">
    <AlternatingRowStyle BackColor="#DCDCDC" />
    <Columns>
        <asp:BoundField DataField="proOrder" HeaderText="专业排序号">
        <HeaderStyle HorizontalAlign="Left" Width="7%" />
        </asp:BoundField>
        <asp:BoundField DataField="proNum" HeaderText="专业代码">
        <HeaderStyle HorizontalAlign="Left" Width="25%" />
        </asp:BoundField>
        <asp:BoundField DataField="proName" HeaderText="专业名称">
        <HeaderStyle HorizontalAlign="Left" Width="25%" />
        </asp:BoundField>
        <asp:BoundField DataField="bkSum" HeaderText="报考人数">
        <HeaderStyle HorizontalAlign="Left" />
        </asp:BoundField>
    </Columns>
    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
    <PagerTemplate>
                当前第:
                <asp:Label ID="LabelCurrentPage" runat="server" Text="<%# ((GridView)Container.NamingContainer).PageIndex + 1 %>"></asp:Label>
                页/共:
                <asp:Label ID="LabelPageCount" runat="server" Text="<%# ((GridView)Container.NamingContainer).PageCount %>"></asp:Label>
                页
                <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" 
                    Visible='<%#((GridView)Container.NamingContainer).PageIndex != 0 %>'>首页</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" 
                    CommandName="Page" Visible='<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>'>上一页</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" 
                    Visible='<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>'>下一页</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" 
                    Visible='<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>'>尾页</asp:LinkButton>
                转到第
                <asp:TextBox ID="txtNewPageIndex" runat="server" Width="30px" ForeColor="Black" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'/>页
                <asp:LinkButton ID="btnGo" runat="server" CausesValidation="False" CommandArgument="-2" 
                    CommandName="Page" Text="GO"/>
            </PagerTemplate>
    <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
    <SortedAscendingCellStyle BackColor="#F1F1F1" />
    <SortedAscendingHeaderStyle BackColor="#0000A9" />
    <SortedDescendingCellStyle BackColor="#CAC9C9" />
    <SortedDescendingHeaderStyle BackColor="#000065" />
</asp:GridView>
<div>&nbsp;<asp:Button ID="Button1" runat="server" CssClass="btn01" Text="考场预排" 
        onclick="Button1_Click" />
&nbsp;&nbsp;
    <asp:Button ID="Button2" runat="server" CssClass="btn01" Text="清空考场安排" 
        onclick="Button2_Click" />
    </div>
</asp:Content>

